package cn.wolfcode.luowowo.comment.service;

import cn.wolfcode.luowowo.comment.domain.ScenicComment;
import cn.wolfcode.luowowo.comment.query.ScenicQueryObject;
import cn.wolfcode.luowowo.common.util.AjaxResult;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Optional;

public interface IScenicCommentService {
    void save(ScenicComment comment);

    Page findByScenicId(ScenicQueryObject qo);

    Optional<ScenicComment> findById(String id);

    AjaxResult scenicThumbup(String id, Long userInfoId);

    List<ScenicComment> findByUserId(Long userId);
}
